package com.biomatch.controller;

import com.biomatch.response.RestResponse;
import com.biomatch.response.RestResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController("frozen.health")
@RequestMapping("/health")
@Api(value = "冷冻条形码打印")
public class HealthController {
    @RequestMapping(value = "/testServerAlive", method = RequestMethod.POST)
    @ApiOperation(value = "检查服务器情况", response = String.class, httpMethod = "POST")
    public RestResult<String> testServerAlive(){
        return RestResponse.success("success");
    }
}
